/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package dao;

import core.Activity;
import java.util.List;
import javax.ejb.Local;

/**
 *
 * @author Dominik
 */
@Local 
public interface IActivity {
    
    public void createActivity(Activity a);

    void updateActivity(Activity a);

    void deleteActivity(Activity a);

    public Activity findActivity(int aId);

    public Activity findActivity(String username);

    public List<Activity> findAllActivities();
}
